#!/bin/bash
set -e
set -x
MYDIR="${0%/*}"
cd "$MYDIR/.."
source "recipes/common.sh"


# RECIPE START strace
# depends: elfutils
# depends: zlib

reset_mtime strace strace/configure.ac
rm -rf build/strace
mkdir -p build/strace
cd build/strace
../../strace/configure \
	${CONFIGURE_ARGS} \
	--enable-stacktrace \
	--with-libdw \
	--without-selinux \
	${AUTOCRAP_KLUDGE}

cd ../..
make_build build/strace

# RECIPE END strace
